package com.cuij.service;

import com.cuij.entity.Result;

public interface orderInfoService {

    // 生成订单 状态 0
    public Result createOrder(String goodsinfo, double totalprice, String busi_id, String use_id);

    // 查询订单信息
    public Result findOrderInfo(String order_id, String use_id);

    // 确认订单付款，状态1
    public Result confirmOrder(String use_id, String order_id, String address, double totalprice);

    // 查询订单信息及状态
    public Result findOrderInfo(String order_id);

    // 按不同查询条件查询订单
    public Result showOrder(String cust_id, String busi_id, String checkstate);

    // 更改订单状态1-4
    public Result changeState(String order_id, String order_state);

    // 删除超时订单
    public Result outTime(String cust_id);

    // 评论成功后操作
    public Result commentSuccess(String order_id, double busi_level, double goods_level, String busi_comment);

}
